package com.yxdl.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

@Data
@TableName(value = "account")
public class Account {
    public static final String COL_ID = "id";
    public static final String COL_SERVER_ID = "server_id";
    public static final String COL_PT_ACCOUNT_ID = "pt_account_id";
    public static final String COL_NAME = "name";
    public static final String COL_TYPE = "type";
    public static final String COL_PASSWORD = "password";
    public static final String COL_CREATED_DATE = "created_date";
    public static final String COL_APP_ID = "app_id";
    public static final String COL_APP_NAME = "app_name";
    public static final String COL_SDK_NAME = "sdk_name";
    public static final String COL_EMAIL = "email";
    public static final String COL_REAL_NAME = "real_name";
    public static final String COL_IDENTITY_CARD = "identity_card";
    public static final String COL_PERMISSION = "permission";
    public static final String COL_GENDER = "gender";
    public static final String COL_BIRTH = "birth";
    public static final String COL_STATUS = "status";
    public static final String COL_AUTHOR = "author";
    public static final String COL_ADULT = "adult";
    public static final String COL_AGE = "age";
    public static final String COL_OS = "os";
    public static final String COL_DEVICE_ID = "device_id";
    public static final String COL_MAC_ADDRESS = "mac_address";
    /**
     * 账号ID
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 区服ID
     */
    @TableField(value = "server_id")
    private Integer serverId;

    /**
     * 联运帐号ID
     */
    @TableField(value = "pt_account_id")
    private String ptAccountId;

    /**
     * 用户名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 类型
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 密码
     */
    @TableField(value = "password")
    private String password;

    /**
     * 账号创建日期
     */
    @TableField(value = "created_date")
    private Date createdDate;

    /**
     * APP_ID
     */
    @TableField(value = "app_id")
    private Long appId;

    /**
     * APP_NAME
     */
    @TableField(value = "app_name")
    private String appName;

    /**
     * SDK_NAME
     */
    @TableField(value = "sdk_name")
    private String sdkName;

    /**
     * E-mail
     */
    @TableField(value = "email")
    private String email;

    /**
     * 真实姓名
     */
    @TableField(value = "real_name")
    private String realName;

    /**
     * 身份证号码
     */
    @TableField(value = "identity_card")
    private String identityCard;

    /**
     * 实名认证 0-非实名，1-实名
     */
    @TableField(value = "permission")
    private Boolean permission;

    /**
     * 性别，M-男性 F-女性 U-未知
     */
    @TableField(value = "gender")
    private String gender;

    /**
     * 出生日期
     */
    @TableField(value = "birth")
    private Date birth;

    /**
     * 账号状态，0-离线 1-在线 2-检入 9-禁用
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 权限 0-普通 1-高级
     */
    @TableField(value = "author")
    private Integer author;

    /**
     * 是否成年标识
     */
    @TableField(value = "adult")
    private Boolean adult;

    /**
     * 年龄
     */
    @TableField(value = "age")
    private Byte age;

    /**
     * 操作系统
     */
    @TableField(value = "os")
    private String os;

    /**
     * 设备ID
     */
    @TableField(value = "device_id")
    private String deviceId;

    /**
     * MAC地址
     */
    @TableField(value = "mac_address")
    private String macAddress;
}